<?php
	$nav = array("Home" => "", "Localization" => "localization/", "edit" => "#");

	$tpl->assign("dsfm_nav", $nav);

	$form = new Form( array(
		"key" => array(
			"type" => "text",
			"require" => "text",
		),
		"text" => array(
			"type" => "text",
			"lang" => "th/en",
			"require" => "text"
		)
	));

	$th = $dsfm_localization->load("th");
	$en = $dsfm_localization->load("en");

	$data['key'] = $key;
	$data['text_th'] = $th[$key];
	$data['text_en'] = $en[$key];

	$form->add_data($data);

	$form->add_action("update.php");
	$form->rain_display($tpl, "form");
?>